<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bluetooth Host Stack Library: wiced_bt_gatt_buffer_transmitted_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Bluetooth Host Stack Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structwiced__bt__gatt__buffer__transmitted__t.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">wiced_bt_gatt_buffer_transmitted_t Struct Reference<div class="ingroups"><a class="el" href="group__wicedbt__gatt.html">Generic Attribute (GATT)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Description</h2>
<div class="textblock"><p>Structure to return the application buffer and application buffer context given to the stack in various APIs The application is expected to use this event to free allocated memory used for sending client requests or responding to client requests. </p>
<p>On client this is the buffer sent to the stack in</p><ul>
<li><dl class="section see"><dt>See also</dt><dd><a class="el" href="group__gatt__client__api__functions.html#ga1a0c27ab8cf1552b82d7892fef722a4a" title="Write to remote ATT server.">wiced_bt_gatt_client_send_write</a> On server this is the buffer sent to the stack in</dd></dl>
</li>
<li><dl class="section see"><dt>See also</dt><dd><a class="el" href="group__wicedbt__gatt.html#gga1a4943c0f32914d5d939b05e84c99631a0e826c406cd59e6afe727ca3fc060026" title="GATT buffer request, typically sized to max of bearer mtu - 1, Event data: wiced_bt_gatt_event_data_t...">GATT_GET_RESPONSE_BUFFER_EVT</a> using <a class="el" href="structwiced__bt__gatt__app__response__buffer__t.html">wiced_bt_gatt_app_response_buffer_t</a></dd></dl>
</li>
<li><dl class="section see"><dt>See also</dt><dd><a class="el" href="group__gattsr__api__functions.html#ga0cb76e23dcabd30c6fbe2e8139f96ad9" title="This API will send a long (1 upto (MTU -3) bytes) indication to the client for the specified handle w...">wiced_bt_gatt_server_send_indication</a></dd></dl>
</li>
<li><dl class="section see"><dt>See also</dt><dd><a class="el" href="group__gattsr__api__functions.html#gae6b81296d8e3deebefdab879b874439e" title="This API will send a long (1 upto (MTU -3) bytes) notification to the client for the specified handle...">wiced_bt_gatt_server_send_notification</a></dd></dl>
</li>
<li><dl class="section see"><dt>See also</dt><dd><a class="el" href="group__gattsr__api__functions.html#gab222ca3f30e05cab6168f2755b838035" title="This API will send a long (1 upto (MTU -1) bytes) multiple variable length notification to the client...">wiced_bt_gatt_server_send_multiple_notifications</a></dd></dl>
</li>
<li><dl class="section see"><dt>See also</dt><dd>wiced_bt_gatt_server_send_read_handle_rsp</dd></dl>
</li>
<li><dl class="section see"><dt>See also</dt><dd>wiced_bt_gatt_server_send_read_by_type_rsp</dd></dl>
</li>
<li><dl class="section see"><dt>See also</dt><dd>wiced_bt_gatt_server_send_read_multiple_rsp</dd></dl>
</li>
<li><dl class="section see"><dt>See also</dt><dd>wiced_bt_gatt_server_send_prepare_write_rsp</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Typically the application context is expected to be a function/hint (used by the application) to allow it to free/deallocate the memory passed to the stack when writing data to the stack. For e.g, when issueing wiced_bt_gatt_client_send_write, the app can allocate p_app_write_buffer and set the p_app_ctxt to the appropriate free function. This memory allocated for this transaction has to be freed when returned by the stack in the GATT_APP_BUFFER_TRANSMITTED_EVT. The process is made simple since in this case as <code>p_app_data</code> is the application p_app_write_buffer and <code>p_app_ctxt</code> is the application free function/hint </dd>
<dd>
<a class="el" href="group__wicedbt__gatt.html#gga1a4943c0f32914d5d939b05e84c99631a68a87f3f6a4f7c061b50872522f507a4">GATT_APP_BUFFER_TRANSMITTED_EVT</a> is expected to be used only to free app memory as described. The next transaction should be attempted on the respective <a class="el" href="group__wicedbt__gatt.html#gga1a4943c0f32914d5d939b05e84c99631adf101f3e076dc63ca400446bac43a463">GATT_OPERATION_CPLT_EVT</a> </dd></dl>
</li>
</ul>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a9dc2ce0fcd9d8fdce23345249c36a42e"><td class="memItemLeft" align="right" valign="top"><a id="a9dc2ce0fcd9d8fdce23345249c36a42e"></a>
uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwiced__bt__gatt__buffer__transmitted__t.html#a9dc2ce0fcd9d8fdce23345249c36a42e">p_app_data</a></td></tr>
<tr class="memdesc:a9dc2ce0fcd9d8fdce23345249c36a42e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Application data buffer. <br /></td></tr>
<tr class="separator:a9dc2ce0fcd9d8fdce23345249c36a42e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee4534bcf5ed42ab50f7c80a46278a1a"><td class="memItemLeft" align="right" valign="top"><a id="aee4534bcf5ed42ab50f7c80a46278a1a"></a>
<a class="el" href="group__wicedbt__gatt.html#ga80c3de8e66dd4257528aeaf34484d14c">wiced_bt_gatt_app_context_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwiced__bt__gatt__buffer__transmitted__t.html#aee4534bcf5ed42ab50f7c80a46278a1a">p_app_ctxt</a></td></tr>
<tr class="memdesc:aee4534bcf5ed42ab50f7c80a46278a1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Application context for <code>p_app_data</code>. <br /></td></tr>
<tr class="separator:aee4534bcf5ed42ab50f7c80a46278a1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Bluetooth Host Stack Library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
